<template>
	<view>
		<view class="head">
			<view class="title">待服务</view>
			
			<view class="order-info">
				<view class="yy-time-text">
					<view class="">预约时间</view>
					2023.7.24 星期一
				</view>
				
				<view class="time-box">
					<view class="start-time">
						<view class="time">13:00</view>
						<view class="time-text">开始时间</view>
					</view>
					<view class="interval">2小时</view>
					<view class="start-time">
						<view class="time">13:00</view>
						<view class="time-text">结束时间</view>
					</view>
				</view>
				<u-divider style=""></u-divider>
				<view class="shop-title">门店信息</view>
				
				<view class="shop-info">
					<view class="shop-name">门店信息</view>
					<view class="shop-site">
						<view class="">上海河南省郑州市金水区经八路街道广厦·城市之巅</view>
						<image class="site-img" src="../../static/index/site.png" mode=""></image>
					</view>
				</view>
			</view>
			
			<view class="tutor-info">
				<view class="tutor-title">助教信息</view>
				
				<view style="display: flex;align-items: center;margin-top: 30rpx;">
					<view class="assistant-img">
						<image src="../../static/img-6.png" mode="aspectFill"></image>
					</view>
					<view class="assistant-brief">
						<view class="name">李擎洲</view>
						<view class="brief-box">
							<text class="text1"> <image class="sex-img" src="../../static/index/girl.png" mode=""></image> 19 </text>
							<text class="brief">白领 <text class="wire"></text> 167cm <text class="wire"></text> 11361km</text>
						</view>
					</view>
				</view>
			</view>
			
			<view class="order-detail z-margin-t-24">
				<view class="detail-title">订单信息</view>
				
				<view class="each-text z-margin-t-32">
					<view class="text-l">订单编号</view>
					<view class="">1611313154165465</view>
				</view>
				<view class="each-text">
					<view class="text-l">下单时间</view>
					<view class="">2024-04-02 15:00:00</view>
				</view>
				<view class="each-text">
					<view class="text-l">支付方式</view>
					<view class="">余额支付</view>
				</view>
				<view class="each-text">
					<view class="text-l">订单金额</view>
					<view class="money">￥ <text>20.5</text> </view>
				</view>
			</view>
			
			<view style="height: 180rpx;width: 1rpx;"></view>
		</view>
		
		
		<view class="btn-box">
			<view class="PlaceAnOrder-btn" @click="">取消订单</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
	page {
		background: #F7F8FA;
	}
	.head {
		width: 750rpx;
		height: 416rpx;
		background: linear-gradient(to bottom, #E4F6F1,#E5F4F5, #F7F8FA);
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		.title {
			font-weight: 800;
			font-size: 56rpx;
			color: #1C274C;
			padding: 40rpx 0 0 32rpx;
		}
		.order-info {
			width: 622rpx;
			// height: 611rpx;
			background: #FFFFFF;
			border-radius: 24rpx 24rpx 24rpx 24rpx;
			margin: auto;
			margin-top: 24rpx;
			padding: 32rpx;
			
			.yy-time-text {
				display: flex;
				align-items: center;
				font-weight: 500;
				font-size: 22rpx;
				color: #1C274C;
				view {
					width: 120rpx;
					height: 40rpx;
					background: #4BC264;
					border-radius: 8rpx 8rpx 8rpx 8rpx;
					font-weight: 500;
					font-size: 22rpx;
					color: #FFFFFF;
					line-height: 40rpx;
					text-align: center;
					margin-right: 16rpx;
				}
			}
			
			.time-box {
				display: flex;
				justify-content: space-around;
				margin-top: 32rpx;
				.start-time {
					text-align: center;
					.time {
						font-weight: bold;
						font-size: 54rpx;
						color: #1C274C;
					}
					.time-text {
						font-weight: 500;
						font-size: 22rpx;
						color: #A4A9B7;
						margin-top: 7rpx;
					}
				}
				.interval {
					width: 138rpx;
					height: 42rpx;
					text-align: center;
					line-height: 42rpx;
					font-weight: 500;
					font-size: 26rpx;
					color: #A4A9B7;
				}
			}
			.shop-title {
				font-weight: bold;
				font-size: 30rpx;
				color: #1C274C;
			}
			.shop-info {
				padding: 30rpx 32rpx 24rpx 32rpx;
				width: 558rpx;
				margin: auto;
				margin-top: 16rpx;
				background: #F7F8FA;
				border-radius: 24rpx 24rpx 24rpx 24rpx;
				.shop-name {
					font-weight: bold;
					font-size: 28rpx;
					color: #1C274C;
				}
				.shop-site {
					background-color: #FFF;
					border-radius: 20rpx;
					width: 500rpx;
					margin: auto;
					margin-top: 16rpx;
					padding: 21rpx 27rpx;
					display: flex;
					justify-content: space-between;
					align-items: center;
					.site-img {
						width: 40rpx;
						height: 40rpx;
					}
					view {
						width: 400rpx;
						font-weight: 500;
						font-size: 24rpx;
						color: #1C274C;
					}
				}
			}
		}
		
		.tutor-info {
			width: 622rpx;
			padding: 32rpx;
			background: #FFFFFF;
			border-radius: 24rpx 24rpx 24rpx 24rpx;
			margin: auto;
			margin-top: 24rpx;
			.tutor-title {
				font-weight: bold;
				font-size: 30rpx;
				color: #1C274C;
			}
			.assistant-img {
				width: 100rpx;
				height: 100rpx;
				background: #D9D9D9;
				border-radius: 50%;
				image {
					width: 100rpx;
					height: 100rpx;
					border-radius: 50%;
				}
			}
			.assistant-brief {
				margin-left: 32rpx;
				.name {
					font-weight: bold;
					font-size: 30rpx;
					color: #1C274C;
				}
				.brief-box {
					.text1 {
						// width: 60rpx;
						display: inline-block;
						margin-left: 8rpx;
						height: 28rpx;
						line-height: 28rpx;
						background: #FF648F;
						border-radius: 14rpx 14rpx 14rpx 14rpx;
						padding: 0 8rpx;
						font-weight: 500;
						font-size: 20rpx;
						color: #FFFFFF;
						.sex-img {
							width: 18rpx;
							height: 18rpx;
							vertical-align: middle;
						}
						margin-right: 16rpx;
					}
					.text2 {
						background-color: #3E9AF4;
					}
					.brief {
						font-weight: 500;
						font-size: 22rpx;
						color: #A4A9B7;
						margin-top: 8rpx;
						.wire {
							display: inline-block;
							margin: 0 16rpx;
							width: 2rpx;
							height: 17rpx;
							background-color: #EDEEF1;
						}
					}
				}
			}
		}
		
		.order-detail {
			width: 622rpx;
			background: #FFFFFF;
			border-radius: 24rpx 24rpx 24rpx 24rpx;
			padding: 32rpx;
			margin: auto;
			.detail-title {
				font-weight: bold;
				font-size: 30rpx;
				color: #1C274C;
			}
			
			.each-text {
				display: flex;
				justify-content: space-between;
				font-weight: 500;
				font-size: 24rpx;
				color: #1C274C;
				.text-l {
					font-weight: 500;
					font-size: 24rpx;
					color: #A4A9B7;
				}
				margin-top: 24rpx;
				
				.money {
					font-weight: 400;
					font-size: 24rpx;
					color: #FF7B18;
					text {
						font-size: 30rpx;
					}
				}
			}
		}
	}
	
	.btn-box {
		width: 100%;
		position: fixed;
		bottom: 40rpx;
		z-index: 9;
		.PlaceAnOrder-btn {
			width: 686rpx;
			height: 106rpx;
			margin: auto;
			background: #4BC264;
			border-radius: 20rpx 20rpx 20rpx 20rpx;
			font-weight: 800;
			font-size: 34rpx;
			color: #FFFFFF;
			line-height: 106rpx;
			text-align: center;
		}
	}
</style>
